<?php
/**
 * Copyright 2010 - 2011, Cake Development Corporation (http://cakedc.com)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright Copyright 2010 - 2011, Cake Development Corporation (http://cakedc.com)
 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<div class="row users form">
    <div class="span3">
        <div class="edit-profile-menu">
            <?php echo $this->element('Users/sidebarEditMenu'); ?>
        </div>
    </div>
    <div class="span9">
        <div class="edit-profile">
            <div class="content-header">
                <h2><?php echo __d('users', 'Account'); ?></h2>
                <p class="subheader"><?php echo __d('users', 'Chnage your basic account') ?></p>
            </div>
            
        <?php echo $this->Form->create($model, array('class' => 'form-horizontal')); ?>
		<fieldset>
			
			<?php
				echo $this->Form->input('UserDetail.first_name', array('class' => 'input-xlarge'));
				echo $this->Form->input('UserDetail.last_name', array('class' => 'input-xlarge'));
				echo $this->Form->input('UserDetail.birthday', array('class' => 'input-xlarge'));
                                echo $this->Form->input('UserDetail.summary', array('type' => 'textarea', 'class' => 'span5'));
                                echo $this->Form->input('UserDetail.profile', array('type' => 'textarea', 'class' => 'span5', 'label' => __d('users', 'Professional profile')));
			?>
		</fieldset>
            <?php echo $this->Form->submit(__d('users', 'Save change'), array('class' => 'btn btn-primary', 'div' => array( 'class' => 'controls')))?>
	<?php echo $this->Form->end(); ?>
            </div>
    </div>
	
</div>
